package com.ziyucoding.springboot.labs.redislike.common;


import lombok.Getter;

/**
 * 常量
 *
 * @author ziyucoding
 * @date 2023-02-07
 **/
public class Constant {

    @Getter
    public enum LikedStatusEum {
        LIKE(0, "点赞"),
        UNLIKE(1, "未点赞/取消点赞"),
        NOT_EXIST(2, "不存在点赞信息");

        private final int code;
        private final String name;

        LikedStatusEum(Integer code, String name) {
            this.code = code;
            this.name = name;
        }
    }

}
